// @import '~ant-design-vue/es/style/themes/default.less';
@import '~ant-design-vue/dist/antd.less'; // 引入官方提供的 less 样式入口文件
// @import 'your-theme-file.less'; // 用于覆盖上面定义的变量

@primary-color: #1B1F8F; // 全局主色

html,
body,
#app, #root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

input[type=number] {
  -moz-appearance:textfield;
}  
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;  
  margin: 0;  
}


canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

ul,
ol {
  list-style: none;
}

// font
.font-color {
  color: @primary-color;
}


// picker
.ant-calendar-picker {
  width: 100%;
}

// 数据列表 样式

.ant-table {
  min-height: 280px !important;
}

.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}

// 数据列表 搜索条件
.table-page-search-wrapper {

  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

// button
.ant-btn {
  font-weight: bold;
}
.ant-btn-default {
  border-color: @primary-color;
  color: @primary-color;
}
.loan-button {
  width: 144px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
}

// form
.a-form-item-send-code {
  position: relative;
  .send-code {
    position: absolute;
    right: 0;
    bottom: -5px;
    z-index: 1;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
